package com.zg.autoform.vo;

import com.zg.common.core.dao.BaseEntity;
import lombok.Data;

import javax.validation.constraints.NotBlank;

/**
 * @author Zxb
 */
@Data
public class WorkflowColumnVo extends BaseEntity {
    private Long formId;
    @NotBlank(message = "字段名称不能为空")
    private String name;
    @NotBlank(message = "字段编码不能为空")
    private String code;
    @NotBlank(message = "字段使用的组件类型不能为空")
    private String compType;
    @NotBlank(message = "字段使用的数据类型不能为空")
    private String dataType;
    private String extra;
    private String defaultVal;
    private Boolean isLike;
    private String regex;
    private String errorMsg;
    private Integer sort;
    private Object dataVal;
    private Boolean isNeed;
}
